
// 打印顶部内容模板
export const getProcessHtml = (param) => {
  return `
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

  <title></title>
  <meta name="generator" content="LibreOffice 5.4.7.2 (Linux)"/>
  <meta name="author" content="samwuu"/>
  <meta name="created" content="2013-04-30T14:00:15"/>
  <meta name="changedby" content="SamWuu"/>
  <meta name="changed" content="2021-06-11T03:21:01"/>
  <meta name="Company" content="rate"/>
  <meta name="ICV" content="EC89AAC0EB534F5BB4CBFC95F1EB5777"/>
  <meta name="KSOProductBuildVer" content="2052-11.1.0.10495"/>

  <style type="text/css">
    body, div, table, thead, tbody, tfoot, tr, th, td, p {
      font-family: "SimSun"
    }

    a.comment-indicator:hover + comment {
      background: #ffd;
      position: absolute;
      display: block;
      border: 1px solid black;
      padding: 0.5em;
    }

    a.comment-indicator {
      background: red;
      display: inline-block;
      border: 1px solid black;
      width: 0.5em;
      height: 0.5em;
    }

    comment {
      display: none;
    }

    .borderAll {
      border-top: 1px solid #000000;
      border-bottom: 1px solid #000000;
      border-left: 1px solid #000000;
      border-right: 1px solid #000000;
  text-align:center
    }
  </style>

</head>

<body>
<table cellspacing="0" border="0"  >
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>

  <tr>
    <td colspan=12 height="50"  style="font-weight:bold;text-align:center"><font face="SimSun" size=6>
    名朗五金<b style="font-weight:bold">产品工序流转卡</b>
    </td>
  </tr>
    <tr>
    <td  height="40" colspan=4 >
    ${param.logo}
	</td>
  <td  colspan=3  >生产批次号:${param.line.serialNo}</td>
  <td  colspan=5  >订单编码:${param.line.orderCode}</td>
    </tr>

  <tr>
    <td class="borderAll" height="40" colspan=4 >产品名称:${param.line.productName}</td>
    <td class="borderAll" colspan=4  >产品规格及型号:${param.line.productSpec}</td>
    <td class="borderAll" colspan=4  >订单数量:${param.line.orderAmount}</td>
  </tr>
  <tr  >
    <td class="borderAll" height="40" colspan=8  align="left" >产品特殊要求:${param.line.requireRemark}</td>
    <td class="borderAll" colspan=4  >外协要求:${param.line.outsourcingRequire}</td>
  </tr>
   <tr>
    <td class="borderAll" height="40" colspan=4 >部件名称:${param.line.subName}</td>
    <td class="borderAll" colspan=4  >计划投产量:${param.line.subFeedingAmount}</td>
    <td class="borderAll" colspan=4  >材质及用料规格:${param.line.originSpec}</td>
  </tr>

  <tr style="font-weight:bold">
    <td class="borderAll" height="25"  >序号</td>
    <td class="borderAll"  >加工工序</td>
    <td class="borderAll" >操作员</td>
    <td class="borderAll">重量(kg)</td>
    <td class="borderAll" >合格数量</td>
    <td class="borderAll" >工废(支)</td>
    <td class="borderAll"  >主管确认</td>
    <td class="borderAll"  >生产日期</td>
     <td class="borderAll"  >接收人</td>
  </tr>

<tr>
    <td class="borderAll" height="35"  >1</td>
    <td class="borderAll"  >连冲/拉槽</td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
  </tr>

  <tr>
    <td class="borderAll" height="35"  >2</td>
    <td class="borderAll"  >单冲</td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
  </tr>

  <tr>
    <td class="borderAll" height="35"  >3</td>
    <td class="borderAll"  >钻孔</td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
    <td class="borderAll"></td>
  </tr>

  <tr>
    <td class="borderAll" colspan=12 height="40"  > 注:最后一道工序生产完成后，随成品做入库统计，每月由成品仓负责交财务做成本核算</td>
  </tr>
</table>
<!-- ************************************************************************** -->
</body>

</html>
        `
}

